#include <stdio.h>
#include "liststack.h"
int main(int argc, const char * argv[])
{
    l* h = liststackcreat();//创建链式栈
    push(h,1);//入栈
    push(h,2);
    push(h,3);
    push(h,4);
    push(h,5);
    stackshow(h);//遍历
    pop(h);//出栈
    pop(h);
    pop(h);
    stackshow(h);//遍历
    return 0;
}